package com.binest.votingRecords.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.binest.common.annotation.Excel;
import com.binest.common.core.domain.BaseEntity;

/**
 * 投票记录对象 voting_records
 * 
 * @author binest
 * @date 2024-03-28
 */
public class VotingRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 单据类型 */
    @Excel(name = "单据类型")
    private String orderType;

    /** ipfs哈希值 */
    @Excel(name = "ipfs哈希值")
    private String qmHash;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditorAddress;

    /** 主要id */
    @Excel(name = "主要id")
    private String mainId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String approveStatus;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setQmHash(String qmHash) 
    {
        this.qmHash = qmHash;
    }

    public String getQmHash() 
    {
        return qmHash;
    }
    public void setAuditorAddress(String auditorAddress) 
    {
        this.auditorAddress = auditorAddress;
    }

    public String getAuditorAddress() 
    {
        return auditorAddress;
    }
    public void setMainId(String mainId) 
    {
        this.mainId = mainId;
    }

    public String getMainId() 
    {
        return mainId;
    }
    public void setApproveStatus(String approveStatus) 
    {
        this.approveStatus = approveStatus;
    }

    public String getApproveStatus() 
    {
        return approveStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderType", getOrderType())
            .append("qmHash", getQmHash())
            .append("auditorAddress", getAuditorAddress())
            .append("mainId", getMainId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("approveStatus", getApproveStatus())
            .toString();
    }
}
